﻿using JTTD.Common.Enum;
using JTTD.Common.Helper;

namespace JTTD.Domain.Dtos.System.Response
{
    /// <summary>
    /// 系统配置
    /// </summary>
    public  class ConfigInfoResponseDto:BaseResponseDto
    {
        /// <summary>
        /// 系统配置key
        /// </summary>
        public ConfigTypeEnum Key { get; set; }

        /// <summary>
        /// 系统配置key字符串
        /// </summary>
        public string KeyStr => Key.GetDescription();

        /// <summary>
        /// 系统配置value
        /// </summary>
        public string Value { get; set; }
        /// <summary>
        /// 配置说明
        /// </summary>
        public string Remark { get; set; }
    }
}
